/*
 * MockPrinter.h
 *
 *  Created on: Sep 11, 2012
 *      Author: sbellus
 */

#ifndef MOCKPRINTER_H_
#define MOCKPRINTER_H_

#include <Printer.h>
#include <string>

class MockPrinter : public Printer
{
   public:
      std::string printedText;

      void Print(const char* textToPrint)
      {
         printedText += textToPrint;
      }

      MockPrinter()
      {
      }

      virtual ~MockPrinter()
      {
      }
   private:
      MockPrinter(const MockPrinter&);
      MockPrinter& operator=(const MockPrinter&);
};

#endif /* MOCKPRINTER_H_ */
